$notification
$notification posts a local notification from a capture rule script — handy for alerting yourself when a rule fires or surfacing a value the script extracted. It is available only inside capture rule scripts.
Method
All three fields are strings. Pass an empty string for any field you don't need. If all three are empty, no notification is posted.
Notes
- Notification permission is requested by the app. If notifications are not authorized, the post is silently ignored.
- Delivery is immediate.
